package com.cloud.base.client.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.cloud.common.mybatis.base.entity.AbstractEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * 系统应用-基础信息
 *
 * @author wwkk
 * @date 2019-07-05
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("base_app")
@ApiModel(value="BaseApp对象", description="系统应用-基础信息")
public class BaseApp extends AbstractEntity {

private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "客户端ID")
    @TableId(value = "app_id", type = IdType.ID_WORKER)
    private String appId;

    @ApiModelProperty(value = "客户端秘钥")
    private String appSecret;

    @ApiModelProperty(value = "app名称")
    private String appName;

    @ApiModelProperty(value = "app英文名称")
    private String appNameEn;

    @ApiModelProperty(value = "应用图标")
    private String appIcon;

    @ApiModelProperty(value = "app类型:server-服务应用 app-手机应用 pc-PC网页应用 wap-手机网页应用")
    private String appType;

    @ApiModelProperty(value = "app描述")
    private String appDesc;

    @ApiModelProperty(value = "移动应用操作系统:ios-苹果 android-安卓")
    private String appOs;

    @ApiModelProperty(value = "官网地址")
    private String website;

    @ApiModelProperty(value = "用户ID:默认为0")
    private Long userId;

    @ApiModelProperty(value = "用户类型:platform-平台 isp-服务提供商 dev-自研开发者")
    private String userType;

    @ApiModelProperty(value = "状态:0-无效 1-有效")
    private Integer status;

    @ApiModelProperty(value = "保留数据0-否 1-是 不允许删除")
    private Integer isPersist;


}
